x86: fix emulation of indirect far calls and jumps
authorJan Beulich <jbeulich@suse.com>
Tue, 19 Nov 2013 15:59:49 +0000 (16:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 19 Nov 2013 15:59:49 +0000 (16:59 +0100)
commit5225a95577f71be633e490b729b2e157d4fa3208
tree9ab92b7fe6e6b935dfaef933bf50fbf9c241be59
parent1039c6772c7cb84e968e1cd535a4cdafe731fa50
x86: fix emulation of indirect far calls and jumps

Commit 86781624 ("x86_emulate: PUSH <mem> must read source operand
just once") corrected the operands of those of the operations of opcode
extension group 5 that only read memory from SrcMem to DstMem, but
failed to also switch the use of "dst" here to "src".

Reported-by: Anthony Perard <anthony.perard@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Anthony Perard <anthony.perard@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/x86_emulate/x86_emulate.c